/*
 * Copyright Iain Sproat, 2009
 * 
 *
 */
using System;
using Newtonsoft.Json;

namespace FreeBase.Domain
{
	/// <summary>
	/// Description of FBId.
	/// </summary>
	[JsonObject(MemberSerialization.OptIn)]
	public class FBId : FBValueType<string>
	{
		public FBId()
		{
		}
		public FBId( string val )
		{
			this.Value = val;
		}

		public override string Value{ get; set; }
		
		public static implicit operator FBId( string id )
		{
			return new FBId( id );
		}
	}
}
